import http from "./http";
<<<<<<< HEAD

const getUserInfo = () => http.get('/user/info');
const EditUserInfo= params => http.put('/user/info', params);
const login = params => http.post('/user/login', params);
const logout = () =>http.post('/user/logout');
const register = params =>http.post('/user/register', params);

export default {
    getUserInfo,
    EditUserInfo,
    login,
    logout,
    register
};
=======
const getorderList =(pageNumber,status)=>{
    return http.get('/order',{
        params:{
            pageNumber,
            status
        }
    })
}
export default {
    getorderList
}
>>>>>>> 5c722d0c0fab465b7db4ddfbc11d51fe75bbb4ed
